<template>
    <section class="QuickArticle__container">
        <div class="title">
            <span>{{ title }}</span>
        </div>
        <div class="content">
            <slot>暂无数据</slot>
        </div>
    </section>
</template>

<script>
export default {
    props: {
        title: {
            type: String,
            default: "标题",
        },
    },
};
</script>

<style lang="scss" scoped>
.QuickArticle__container {
    display: flex;
    flex-direction: column;
    padding: 10px 0;
    // border: 1px solid red;

    .title {
        font-size: 1.3rem;
        font-weight: bold;
        color: #c4c4c4;
        line-height: 1.8;
    }

    .content {
        padding: 0;
    }
}
</style>
